package com.xiangban.yanglaodajie_platform.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/3/15 16:57
 */

@Data
@ApiModel("商品表")
public class Goods {

    @ApiModelProperty(value = "商品id")
    private Integer goodsId;

    @ApiModelProperty(value = "商家id")
    private Integer shopId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品Logo图")
    private String logo;

    @ApiModelProperty(value = "最低价格")
    private BigDecimal minPrice;

    @ApiModelProperty(value = "最高价格")
    private BigDecimal maxPrice;

    @ApiModelProperty(value = "展示价格")
    private BigDecimal price;

    @ApiModelProperty(value = "状态（1：上架，-1：下架）")
    private String status;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "服务说明")
    private String remarke;

    @ApiModelProperty(value = "分类id")
    private Integer classifyId;

    @ApiModelProperty(value = "库存")
    private Integer inventory;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "限制八十岁以上")
    private Integer age;
}
